#ifndef FIRST_H
#define FIRST_H

#include <QMainWindow>
#include <hero.h>
#include <QTimer>
#include <QPixmap>
#include "faliure.h"
#include "question1.h"
#include "question2.h"
#include "question3.h"
#include "question4.h"

class First : public QMainWindow
{
    Q_OBJECT
public:
    explicit First(QWidget *parent = nullptr);

    //重写绘图事件
    void paintEvent(QPaintEvent *);

    void keyPressEvent(QKeyEvent * event);

    Hero ho;

    Faliure * fail = NULL;

    Question1 * m1 = NULL;

    Question2 * m2 = NULL;

    Question3 * m3 = NULL;

    Question4 * m4 = NULL;

signals:
    void ftb();

public slots:
};

#endif // FIRST_H
